# coding=UTF-8
# author=suemi
# created at 16/5/15

import sys
# sys.path.append(".")
from utils.IndexManager import IndexManager
from utils.PageUtil import PageUtil
from utils.QueryBuilder import QueryBuilder

result = QueryBuilder.instance().term("列车").query()
documents = result['documents']
for d in documents:
    print d['highlight']


# im = IndexManager()
# im.submit(PageUtil.condition('20160531').source('chinanews').iterator())
